home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl - The Best of BBS
/
Night Owl The Best of BBS (NOP-BBS) (Night Owl Publisher) (1994).iso
/
014a
/
ezbbs215.lha
/
Source
/
unspace.c
< prev
Wrap
C/C++ Source or Header
|
1994-02-06
|
464b
|
34 lines
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <proto/dos.h>
#include <proto/exec.h>
#define VERSION "1.1"
static char *version = "\0$VER: unspace "VERSION" ("__AMIGADATE__")";
int main(int argc, char *argv[])
{
int i;
for (i = 1; i<argc; ++i) {
char *s = argv[i];
while (*s) {
if (*s==' ')
putchar('_');
else
putchar(*s);
++s;
}
putchar('\n');
}
exit(0);
}